package com.chuangshu.orange.dto;

import java.io.Serializable;

/**
 * @author Guo Jiaqi
 * @version 1.0
 * @date 2021/4/1 20:48
 */
public class OrderAll implements Serializable {
    private static final long serialVersionUID = 708404717757537549L;

    private Integer id;

    private String ddNum;

    private String name;

    private Object aPrice;

    private Integer buyNum;

    private String pic;

    private String kind;

    private Integer num;

    private Integer status;

    private Integer userId;

    public OrderAll() {
    }

    public OrderAll(Integer id, String ddNum, String name, Object aPrice, Integer buyNum, String pic, String kind, Integer num, Integer status, Integer userId) {
        this.id = id;
        this.ddNum = ddNum;
        this.name = name;
        this.aPrice = aPrice;
        this.buyNum = buyNum;
        this.pic = pic;
        this.kind = kind;
        this.num = num;
        this.status = status;
        this.userId = userId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDdNum() {
        return ddNum;
    }

    public void setDdNum(String ddNum) {
        this.ddNum = ddNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getaPrice() {
        return aPrice;
    }

    public void setaPrice(Object aPrice) {
        this.aPrice = aPrice;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "OrderAll{" +
                "id=" + id +
                ", ddNum='" + ddNum + '\'' +
                ", name='" + name + '\'' +
                ", aPrice=" + aPrice +
                ", buyNum=" + buyNum +
                ", pic='" + pic + '\'' +
                ", kind='" + kind + '\'' +
                ", num=" + num +
                ", status=" + status +
                ", userId=" + userId +
                '}';
    }
}
